'use client';
import React, { Component } from 'react';
import axios from 'axios';
import Image from 'next/image';

class UserList extends Component {
  render() {
    return (
      <div>
        <h1>Welcome to Next.js</h1>
        <p>This is the UserList page content.</p>
        {/* 使用 Next Image 组件 */}
        <Image
          src="/path/to/your/image.jpg"
          alt="Description of the image"
          width={300}
          height={200}
        />
      </div>
    );
  }
}

export default UserList;
